.tools-aiChat-page{
    .message-list{
        padding: 18px 12px;
        position: relative;
        &.nodata{
            &::before{
                position: absolute;
                left: 0;
                right: 0;
                top: 42vh;
                // outline: 1px solid #f00;
                font-size: 24px;
                text-align: center;
                color: #bbb;
                letter-spacing: 2px;
                content: "请输入您的问题";
            }
        }
    }
    .message-item{
        position: relative;
        display: flex;
        flex-direction: row;
        .icon-user{
            width: 45px;
            height: 45px;
            display: block;
            line-height: 45px;
            border-radius: 50%;
            margin-right: 20px;
            text-align: center;
            flex: none;
            display: none;
            box-shadow: 0 0 2px 1px rgba(0,0,0,0.1);
            background-color: rgb(255,255,255);
        }
        .right-content{
            >div{
                padding: 16px 15px;
                border-radius: 4px;
                box-shadow: 0 0 4px 2px rgba(0,0,0,0.1);
            }
            .stop-btn{
                display: block;
                margin-top: 5px;
                text-decoration: underline;
                cursor: pointer;
                line-height: 30px;
                font-size: 14px;
                color: #ed7020;
                &:hover{
                    color: #ff6666;
                }
            }
        }
        
        &:not(:last-child){
            margin-bottom: 18px;
        }
        &.msg-user{
            .icon-user{
                background-color: rgb(191, 219, 254);
            }
            .right-content>div{
                background-color: rgb(191, 219, 254);
            }
        }
        &.msg-system{
            .right-content>div{
                background-color: rgb(255, 255, 255);
            }
            // .icon-user{
            //     background-color: rgb(191, 219, 254);
            // }
        }

        .think-content{
            background-color: rgba(0,0,0,0.1);
            font-size: 0.85em;
            padding: 8px;
            margin-bottom: 10px;
            border-radius: 4px;
            .think-title{
                display: flex;
                align-items: center;
                font-size: 1.1em;
                font-weight: bold;
            }
            .markdown-body{
                margin-top: 5px;
            }
            .iconfont{
                display: block;
                cursor: pointer;
                transition: transform 0.4s ease-out;
                will-change: transform;
                &:hover{
                    color: #ed7020;
                }
            }
            >div{
                font-size: inherit;
            }
            &.closed{
                .iconfont{
                    transform: rotate(180deg);
                }
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .tools-aiChat-page{
        .message-list{
            padding: 8px;
            font-size: 14px;
        }
        .message-item{
            .icon-user{
                display: none;
            }
            .right-content{
                >div{
                    padding: 12px;
                }
                .stop-btn{
                    margin-top: 5px;
                    line-height: 30px;
                    font-size: 13px;
                }
            }
            &:not(:last-child){
                margin-bottom: 12px;
            }
            .think-content{
                font-size: 0.85em;
                padding: 9px;
                margin-bottom: 10px;
                .markdown-body{
                    margin-top: 5px;
                }
            }
        }
    }
}